class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.column :name, :string 
      t.column :created_at, :timestamp 
      t.column :price, :integer 
      t.column :memo, :text 
      t.column :restaurant_id, :integer
    end
  end

  def self.down
    drop_table :items
  end
end
